﻿<%@ Page Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="ApplicationCheck.aspx.cs"
    Inherits="iOak.Web.Administration.ApplicationCheck" %>

<asp:Content runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
    <script type="text/javascript">
        $(document).ready(function () {
            $('#<%=btnPreview.ClientID %>').bind('click', function () {
                btnPreviewClick();
                return false;
            });

            $('#<%=btnPreview2.ClientID %>').bind('click', function () {
                btnPreviewClick();
                return false;
            });

            $('#<%=btnEdit.ClientID %>').bind('click', function () {
                $('#<%=hidBindTemplate.ClientID %>').val('');
            });

            $('#<%=btnOk.ClientID %>').bind('click', function () {
                $('#<%=hidBindTemplate.ClientID %>').val('');
            });

            $('#<%=btnOk2.ClientID %>').bind('click', function () {
                $('#<%=hidBindTemplate.ClientID %>').val('');
            });

            $('#<%=btnContinue.ClientID %>').bind('click', function () {
                $('#<%=hidBindTemplate.ClientID %>').val('');
            });

            $('#<%=btnContinue2.ClientID %>').bind('click', function () {
                $('#<%=hidBindTemplate.ClientID %>').val('');
            });
        });

        function bindTemplate() {
            $('#<%=hidBindTemplate.ClientID %>').val('2');
            $('#<%=btnBindTemplate.ClientID %>').click();
        }

        function btnCancelClick(applicationId) {
            location.href = "ApplicationCandidateList.aspx?applicationId=" + applicationId;
        }

        function btnPreviewClick() {
            window.showModalDialog('/Popups/PopupAddResumeImage.aspx?ReadOnly=true&ResumeId=<%=this.ViewState["ResumeId"].ToString() %>',
             'window', 'scroll:no;status:no;help:no;dialogWidth:1220px;dialogHeight:700px');
        }

    </script>
    <div class="content">
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="background-color: #fff;">
            <tr>
                <td width="7" align="left" valign="top">
                    <img src="/images/tab-j_01.jpg" width="7" height="7" />
                </td>
                <td width="755">
                    &nbsp;
                </td>
                <td width="10" align="right" valign="top">
                    <img src="/images/tab-j_02.jpg" width="7" height="7" />
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    <div style="border: 1px solid #ccc">
                        <div style="border: 1px solid #fff">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td>
                                        <div class="content-top">
                                            <div class="top_edit_bg">
                                                简历</div>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center">
                                        <div style="padding-top: 20px; background: #f9f9f9;">
                                            <table width="98%" border="0" cellspacing="10" cellpadding="0">
                                                <tr>
                                                    <td colspan="2">
                                                        <asp:Button runat="server" ID="btnOk2" Text="确定" OnClick="btnOk_Click" CssClass="adminButtonBlue" />
                                                        <asp:Button runat="server" ID="btnContinue2" Text="审核下一个" OnClick="btnContinue_Click"
                                                            CssClass="adminButtonBlue" />
                                                        <asp:Button runat="server" ID="btnCancel2" Text="取消" CssClass="adminButtonBlue" />
                                                        <asp:Button runat="server" ID="btnPreview2" Text="预览附件" 
                                                            CssClass="adminButtonBlue" Visible="False" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="editor-label" align="right">
                                                        人才政策活动：
                                                    </td>
                                                    <td class="editor-field" align="left">
                                                        <asp:Label runat="server" ID="lblSubject"></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="editor-label" align="right">
                                                        审核标准：
                                                    </td>
                                                    <td class="editor-field" align="left">
                                                        <asp:Label runat="server" ID="lblDescription"></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">
                                                        <div style="border: 1px solid #ccc;">
                                                            <div style="border: 1px solid #fff;">
                                                                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab1">
                                                                    <tr>
                                                                        <td>
                                                                            <div class="table-header" style="position: relative;">
                                                                                <div class="table-header_name" style="float: left">
                                                                                    简历</div>
                                                                                <div style="float: right; padding-right: 10px; padding-top: 8px">
                                                                                    <asp:Button runat="server" ID="btnEdit" Text="修改" OnClick="btnEdit_Click" CssClass="adminButtonBlue" />
                                                                                </div>
                                                                            </div>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>
                                                                            <div id="divTemple" runat="server">
                                                                            </div>
                                                                            <div id="divTempleEdit" runat="server">
                                                                            </div>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </div>
                                                        </div>
                                                    </td>
                                                </tr>
                                                <asp:PlaceHolder runat="server" ID="phCheck">
                                                    <tr>
                                                        <td class="editor-label" align="right">
                                                            备注：
                                                        </td>
                                                        <td class="editor-field" align="left">
                                                            <asp:TextBox runat="server" ID="txtNotes" MaxLength="1000" Height="100px" Width="594px"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="editor-label" align="right">
                                                            评分：
                                                        </td>
                                                        <td class="editor-field" align="left">
                                                            <asp:TextBox runat="server" ID="txtScore" MaxLength="5"></asp:TextBox>
                                                            <ajaxToolkit:FilteredTextBoxExtender runat="server" ID="filteredTextBoxExtender"
                                                                FilterType="Numbers" TargetControlID="txtScore">
                                                            </ajaxToolkit:FilteredTextBoxExtender>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="editor-label" align="right">
                                                            审核通过：
                                                        </td>
                                                        <td class="editor-field" align="left">
                                                            <asp:RadioButtonList runat="server" ID="rblPassed" RepeatColumns="2" CellPadding="10"
                                                                CellSpacing="10">
                                                                <asp:ListItem Text=" 通过"></asp:ListItem>
                                                                <asp:ListItem Text=" 不通过"></asp:ListItem>
                                                            </asp:RadioButtonList>
                                                        </td>
                                                    </tr>
                                                </asp:PlaceHolder>
                                                <tr>
                                                    <td colspan="2">
                                                        <asp:Button runat="server" ID="btnOk" Text="确定" OnClick="btnOk_Click" CssClass="adminButtonBlue" />
                                                        <asp:Button runat="server" ID="btnContinue" Text="审核下一个" OnClick="btnContinue_Click"
                                                            CssClass="adminButtonBlue" />
                                                        <asp:Button runat="server" ID="btnCancel" Text="取消" CssClass="adminButtonBlue" />
                                                        <asp:Button runat="server" ID="btnPreview" Text="预览附件" 
                                                            CssClass="adminButtonBlue" Visible="False" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td align="left" valign="bottom">
                    <img src="/images/tab-j_03.jpg" width="7" height="7" />
                </td>
                <td>
                    &nbsp;
                </td>
                <td align="right" valign="bottom">
                    <img src="/images/tab-j_04.jpg" width="7" height="7" />
                </td>
            </tr>
        </table>
    </div>
    <asp:HiddenField runat="server" ID="hidBindTemplate" Value="1" />
    <asp:Button runat="server" ID="btnBindTemplate" />
</asp:Content>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="head">
    <style type="text/css">
        .editor-label
        {
            text-align: right;
            width: 150px;
        }
    </style>
</asp:Content>
